const a = async () => {
    await 1
    return 10
}

a().then(res => {
console.log("res", res)
    
})

async function foo() {
    return Promise.resolve(1)
 }

 foo().then(res => {
 console.log("res", res)
     
 })